package d1_wd;

public class t2 {
    public static void main(String[] args) {
        Thread t1 = new Thread(new Runnable() {
            @Override
            public void run() {}
        });
        Thread t2 = new Thread() {
            @Override
            public void run() {}
        };
        Thread t3 = new Thread(() -> {t1.run();
        });

        Thread t4 = new Thread(() -> t2.run());




    }
}
